package com.example;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.springframework.security.oauth2.core.ClientAuthenticationMethod;

import java.util.Set;

public class ClientSettingsDto {

    @JsonDeserialize(using = ClientAuthenticationMethodDeserializer.class)
    @JsonSerialize(using = ClientAuthenticationMethodSerializer.class)
    private Set<ClientAuthenticationMethod> clientAuthenticationMethods;
    public Set<ClientAuthenticationMethod> getClientAuthenticationMethods() {
        return clientAuthenticationMethods;
    }

    public void setClientAuthenticationMethods(Set<ClientAuthenticationMethod> clientAuthenticationMethods) {
        this.clientAuthenticationMethods = clientAuthenticationMethods;
    }
}